﻿using Ekton_Manage_DomainCore.Aggregate;
using Ekton_Manage_DTO.CommonModels;
using Ekton_Manage_InfrastructureCore.Common;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ekton_Manage_IBusiness
{
    public interface ICommonApi
    {
        Task<Message> GetProductType();
        Task<Message> GetSeriesMsg(int brandId);
        Task<Message> GetMaterial();
        Task<Message> GetBrand();
        Task<Message> GetCompany();
        Task<Message> GetRoleInfo();
        /// <summary>
        /// 根据材料的id来查询对应的颜色
        /// </summary>
        /// 
        Task<Message> GetColorByMaterial(int materialId);

        //查询全部平台
        Task<Message> GetPlatform(int series_id);
    }
}
